package com.idak.rdv.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.idak.rdv.dao.DoctorDao;
import com.idak.rdv.db.Doctor;
import com.idak.rdv.service.DoctorService;

@Service
public class DoctorServiceImpl implements DoctorService {

	@Autowired
	private DoctorDao doctorDao;
	
	public List<Doctor> getAllDoctors() {
		return doctorDao.getAll();
	}

}
